package com.ruoyi.wl.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 订单管理对象 wl_order
 * 
 * @author zhiminhu
 * @date 2021-06-25
 */
public class WlOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 区域ID */
    @Excel(name = "区域ID")
    private Long areaId;

    /** 区域 */
    @Excel(name = "大区")
    private String areaName;

    /** 公司订单号 */
    @Excel(name = "出库单号")
    private String orderNum;

    /** 快递单号 */
    @Excel(name = "快递单号")
    private String nu;

    /** 快递公司编码 */
    @Excel(name = "快递公司编码")
    private String com;

    /** 快递公司 */
    @Excel(name = "快递公司")
    private String expressName;

    /** 发货时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发货时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date sendTime;
    /** 公司编码 */
    @Excel(name = "公司编码")
    private String companyKey;

    /** 公司名称 */
    @Excel(name = "客户名称")
    private String companyName;

    /** 收货人 */
    @Excel(name = "收货人")
    private String recName;

    /** 收货人电话 */
    @Excel(name = "电话")
    private String recPhone;

    /** 收货人地址 */
    @Excel(name = "收货地址")
    private String recAddress;

    /** 运输说明 */
    @Excel(name = "运输方式")
    private String recExplain;

    /** 订单说明 */
    @Excel(name = "订单说明")
    private String orderExplain;

    /** 销售ID */
    @Excel(name = "销售ID")
    private Long salesmenId;

    /** 销售名称 */
    @Excel(name = "销售员")
    private String salesmenName;

    /** 执行计划时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "执行计划时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date executePlanTime;

    /** 执行计划状态 */
    @Excel(name = "执行计划状态")
    private String executePlanStatus;

    /** ICON图 */
    @Excel(name = "ICON图")
    private String iconAddr;

    /** 结果截图地址 */
    @Excel(name = "结果截图地址")
    private String resultAddr;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 删除标志 */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAreaId(Long areaId) 
    {
        this.areaId = areaId;
    }

    public Long getAreaId() 
    {
        return areaId;
    }
    public void setAreaName(String areaName)
    {
        this.areaName = areaName;
    }

    public String getAreaName()
    {
        return areaName;
    }
    public void setOrderNum(String orderNum) 
    {
        this.orderNum = orderNum;
    }

    public String getOrderNum() 
    {
        return orderNum;
    }
    public void setNu(String nu) 
    {
        this.nu = nu;
    }

    public String getNu() 
    {
        return nu;
    }
    public void setCom(String com) 
    {
        this.com = com;
    }

    public String getCom() 
    {
        return com;
    }
    public void setExpressName(String expressName) 
    {
        this.expressName = expressName;
    }

    public String getExpressName() 
    {
        return expressName;
    }
    public void setCompanyKey(String companyKey) 
    {
        this.companyKey = companyKey;
    }

    public String getCompanyKey() 
    {
        return companyKey;
    }
    public void setCompanyName(String companyName) 
    {
        this.companyName = companyName;
    }

    public String getCompanyName() 
    {
        return companyName;
    }
    public void setRecName(String recName) 
    {
        this.recName = recName;
    }

    public String getRecName() 
    {
        return recName;
    }
    public void setRecPhone(String recPhone) 
    {
        this.recPhone = recPhone;
    }

    public String getRecPhone() 
    {
        return recPhone;
    }
    public void setRecAddress(String recAddress) 
    {
        this.recAddress = recAddress;
    }

    public String getRecAddress() 
    {
        return recAddress;
    }
    public void setRecExplain(String recExplain) 
    {
        this.recExplain = recExplain;
    }

    public String getRecExplain() 
    {
        return recExplain;
    }
    public void setOrderExplain(String orderExplain) 
    {
        this.orderExplain = orderExplain;
    }

    public String getOrderExplain()
    {
        return orderExplain;
    }
    public void setSalesmenId(Long salesmenId)
    {
        this.salesmenId = salesmenId;
    }

    public Long getSalesmenId()
    {
        return salesmenId;
    }
    public void setSalesmenName(String salesmenName) 
    {
        this.salesmenName = salesmenName;
    }

    public String getSalesmenName() 
    {
        return salesmenName;
    }
    public void setExecutePlanTime(Date executePlanTime) 
    {
        this.executePlanTime = executePlanTime;
    }

    public Date getExecutePlanTime() 
    {
        return executePlanTime;
    }
    public void setExecutePlanStatus(String executePlanStatus) 
    {
        this.executePlanStatus = executePlanStatus;
    }

    public String getExecutePlanStatus() 
    {
        return executePlanStatus;
    }
    public void setIconAddr(String iconAddr) 
    {
        this.iconAddr = iconAddr;
    }

    public String getIconAddr() 
    {
        return iconAddr;
    }
    public void setResultAddr(String resultAddr) 
    {
        this.resultAddr = resultAddr;
    }

    public String getResultAddr() 
    {
        return resultAddr;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public Date getSendTime() {
        return sendTime;
    }

    public void setSendTime(Date sendTime) {
        this.sendTime = sendTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("areaId", getAreaId())
            .append("areaName", getAreaName())
            .append("orderNum", getOrderNum())
            .append("nu", getNu())
            .append("com", getCom())
            .append("expressName", getExpressName())
            .append("companyKey", getCompanyKey())
            .append("companyName", getCompanyName())
            .append("recName", getRecName())
            .append("recPhone", getRecPhone())
            .append("sendTime", getSendTime())
            .append("recAddress", getRecAddress())
            .append("recExplain", getRecExplain())
            .append("orderExplain", getOrderExplain())
            .append("salesmenId", getSalesmenId())
            .append("salesmenName", getSalesmenName())
            .append("executePlanTime", getExecutePlanTime())
            .append("executePlanStatus", getExecutePlanStatus())
            .append("iconAddr", getIconAddr())
            .append("resultAddr", getResultAddr())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
